package com.ibm.spatiotemp.server.framework.processor.geoindexdb;

import org.apache.log4j.Logger;

import com.ibm.spatiotemp.server.datasources.DataSource;
import com.ibm.spatiotemp.server.datasources.RawDataAccessor;
import com.ibm.spatiotemp.server.datasources.RawDataAccessorFactory;
import com.ibm.spatiotemp.server.framework.processor.IndexBuildingProcessor;
import com.ibm.spatiotemp.server.framework.request.Request;

public class GeoIndexIndexBuildProcessor extends IndexBuildingProcessor {
	public static Logger logger = Logger
			.getLogger(GeoIndexIndexBuildProcessor.class);
	private RawDataAccessor dataaccessor;

	public GeoIndexIndexBuildProcessor(DataSource src) {
		super(src);
		dataaccessor = RawDataAccessorFactory
				.getDataAccessorInstanceByDataSource(src);

	}

	@Override
	public String handleIndexBuilding(Request request) {
		return "not implemented now, next step: use dataaccessor to handle index building";
	}

}
